﻿using Max.PH4_2102A.Shopping.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH4_2102A.Shopping.Domain
{
    /// <summary>
    /// 订单明细表
    /// </summary>
    [Table("tb_order_detail")]
    public class OrderDetailEntity : AuditField
    {
        //订单编号、商品ID（商品名称、商品编号）、商品价格（此次购物的价格）、购物的数量、商品状态
        public Guid Id { get; set; }
        public string OrderNo { get; set; }

        public string? Name { get; set; }
        public Guid SKUId { get; set; }
        public decimal Price { get; set; }
        public int Number { get; set; }
        public string? State { get; set; } = "0";
    }
}
